﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhouYu.DreamTour.Model;

namespace ZhouYu.DreamTour.DAL.IRepository
{
   public interface IPaymentRecordRepository:IDenpendecyRepository
    {
        #region 支付成功时添加支付记录
        /// <summary>
        /// 支付成功时添加支付记录
        /// </summary>
        /// <param name="paymentRecord"></param>
        /// <returns></returns>
        bool AddPaymentRecordInfo(PaymentRecord paymentRecord);
        #endregion

        #region 查询支付记录
        /// <summary>
        /// 查询支付记录
        /// </summary>
        /// <returns></returns>
        List<PaymentRecord> SelPaymentRecordInfo();
        #endregion

        #region 修改支付通知状态
        /// <summary>
        /// 修改支付通知状态
        /// </summary>
        /// <param name="Payment_Status"></param>
        /// <param name="Payment_OrderNo"></param>
        /// <returns></returns>
        bool UpdatePaymentStatus(int Payment_Status, string Payment_OrderNo);
        #endregion
    }
}
